<% include header.html %>
<div class="clearfix">
	<ul id="user-list" class="fright">
	<li><span class="username"><%=: user.username %></span><span class="user user-ico">用户</span></li>
    <li><span class="config user-ico">设置</span></li>
	<li><a class="logout user-ico" href="/logout">退出</a></li>
</ul>
</div>
<div class="config-mail" data-id="">
    <label>smtp服务器地址：</label><input type="text" id="smtp" size="25"/>
    <label>是否开启SSL：</label><label> 是<input type="radio" name="ssl" value="1" checked/></label><label> 否<input type="radio" name="ssl" value="0"/></label>
    <label>端口号：</label><input type="text" value="465" id="port" size="5"/>
    <label>账号：</label><input type="text" id="account" size="25"/>
    <label>密码：</label><input type="password" id="pass" size="25"/>
    <label>发送间隔(单位：秒)：</label><input type="text" id="interval" size="5"/>
    <input type="button" value="设置" class="bt-cfg"/>
</div>
<div class="hide">
	<!--<input type="hidden" id="message" value="<%- message %>">-->
    <input type="hidden" id="userid" value="<%- user.id %>">
</div>
<div id="mail">
	<div class="line">
		<div class="left">发送主题</div>
		<div class="mg-left80">
			<input id="subject" type="text" class="border font16"/>
		</div>
        <div class="param border">
            <span class="param1">参数1</span>
            <span class="param2">参数2</span>
            <span class="param3">参数3</span>
            <span class="param4">参数4</span>
            <span class="param5">参数5</span>
            <span class="param6">参数6</span>
            <span class="param7">参数7</span>
            <span class="param8">参数8</span>
            <span class="param9">参数9</span>
            <span class="param10">参数10</span>
        </div>
	</div>
	<div class="line">
		<div class="left">发送对象</div> 
		<div class="send-wrap mg-left80 border font14">
			<div id="mode-sel" class="fright border-l">
				<div id="attachment" class="sel fleft border-r"></div>
				<div id="file" class="sel fright"></div>
				<input id="fileupload" type="file" class="import" name="_files[]" multiple/>
			</div>
			<div id="receiver" class="files fleft">
				<ul>
					
				</ul>
			</div>
			<div id="attach" class="files border-l">
				<ul>
					
				</ul>
			</div>
		    <div id="progress" class="progress">
	        	<div class="progress-bar progress-bar-success"></div>
	    	</div>
		</div>
	</div>
	<div class="line">
		<div class="left">正文</div>
		<div id="content" class="mg-left80">
			<textarea id="contentqq" name="content" style="width:718px;height:200px;font-size:16px;visibility:hidden;"></textarea>
		</div>
	</div>
	<div  class="line">
		<div id="sub">
			<input type="button" id="send" class="fleft" value="发送" />
			<input type="button" id="reset" class="fright" value="重置" />
		</div>
	</div>
</div>
<script charset="utf-8" src="/kindeditor/lang/zh_CN.js"></script>
<script src="/javascripts/jquery.ui.widget.js"></script>
<script src="/javascripts/socket.io.js"></script>
<script src="/javascripts/jquery.iframe-transport.js"></script>
<script src="/javascripts/jquery.fileupload.js"></script>
<script charset="utf-8" src="/javascripts/mail.js"></script>
<% include footer.html %>